<div class="span9">
    <ul class="sf_admin_actions inline">
        <?php if ($actions = $this->configuration->getValue('list.actions')): ?>
            <?php foreach ($actions as $name => $params): ?>
                <?php if ('_new' == $name): ?>
                    <li class="sf_admin_action_new">
                        <?php echo $this->addCredentialCondition('[?php echo $helper->linkToNew(' . $this->asPhp($params) . ') ?]', $params) . "\n" ?>
                    </li>
                <?php else: ?>
                    <li class="sf_admin_action_<?php echo $params['class_suffix'] ?>">
                        <?php echo $this->addCredentialCondition($this->getLinkToAction($name, $params, false), $params) . "\n" ?>
                    </li>
                <?php endif; ?>
            <?php endforeach; ?>
        <?php endif; ?>
    </ul>
</div>
<div class="pull-right span3">
    <div id="ajax_search_form" class="form-search span7">
        <input type="hidden" id="ajax_search_action" value="[?php echo url_for('<?php echo $this->getUrlForAction('collection') ?>', array('action' => 'filter')) ?]" />
        <input type="text" id="ajax_search" class="search-query span12" placeholder="[?php echo __('Search', array(), 'sf_admin') ?]">
    </div>
    <div class="span5">
        <button class="btn" id="ajax_search_reset"><i class="icon-refresh"></i>&nbsp;[?php echo __('Reset', array(), 'sf_admin') ?]</button
    </div>
</div>
